package com.laolang.shop.modules.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * khl
 *
 * @author khlbat
 * @version 1.0
 * @date 2020/11/4 20:19
 */
@Data
public class ProductSkuAttrValue {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long skuId;
    private Long spuId;
    private String value;
    private Long skuAttrId;
    private Long attrId;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    @Version
    private Integer version;
}
